package com.internship.dao;



import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.internship.model.EnterpriseInfo;
import com.internship.model.JobInfo;
import com.internship.model.Jobenterprise;
import com.internship.page.Pagination;

public interface JobInfoDao {
	public JobInfo  getJobinfo(int Id);
	public List<JobInfo>  getJobinfoList(@Param("XYDM") String XYDM ,@Param("JobName") String JobName ,Pagination page);
	public List<JobInfo>  getDistributionJobinfoList(@Param("XYDM") String XYDM);
	public List<JobInfo>  getJobinfoList();
	public int addJobinfo(JobInfo jobinfo);
	public int updateJobinfo(JobInfo jobinfo);
	public int delJobinfo(@Param("Id") int Id);
	public int delAll(String[] ids);
	public int addJobenterprise(Jobenterprise jobenterprise);
	public List<EnterpriseInfo>  getEnterpriseEnterList(@Param("Id") int Id);
	public int delJobenterprise(@Param("EnterpriseId") int EnterpriseId,@Param("JobId") int JobId);
}
